package com.tender.mapper;

import com.tender.domain.ShiroRoleResource;
import com.tender.domain.ShiroRoleResourceExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShiroRoleResourceMapper {
    int countByExample(ShiroRoleResourceExample example);

    int deleteByExample(ShiroRoleResourceExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ShiroRoleResource record);

    int insertSelective(ShiroRoleResource record);

    List<ShiroRoleResource> selectByExample(ShiroRoleResourceExample example);

    ShiroRoleResource selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ShiroRoleResource record, @Param("example") ShiroRoleResourceExample example);

    int updateByExample(@Param("record") ShiroRoleResource record, @Param("example") ShiroRoleResourceExample example);

    int updateByPrimaryKeySelective(ShiroRoleResource record);

    int updateByPrimaryKey(ShiroRoleResource record);
}